@extends("layout")
@section("content")
    {{ Form::open(array("route" => "user/register", "autocomplete" => "off")) }}
        {{ Form::text("username", Input::get("username"), array("placeholder" => "username")) }}  

        {{ Form::text("email", Input::get("email"), array("placeholder" => "email")) }}
        
        {{ Form::password("password", array("placeholder" => "password")) }}

        @if (count($errors) > 0)
            <div class="error">
                {{ var_dump($errors) }}
            </div>
        @endif
        {{ Form::submit("Register", array('id' => 'btnLogin', 'class' => 'btn btn-primary')) }}
    {{ Form::close() }}
@stop
@section("footer")
    @parent
    <script src="//polyfill.io"></script>
@stop